package com.yashi.dao;

import com.yashi.entity.TbAdmin;

public interface TbAdminMapper {
    int deleteByPrimaryKey(String id);

    int insert(TbAdmin record);

    int insertSelective(TbAdmin record);

    TbAdmin selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TbAdmin record);

    int updateByPrimaryKey(TbAdmin record);

    /**
     * 根据名字查询管理员
     * @param adminName
     * @return
     */
	TbAdmin findAdminByName(String adminName);
}